/*
 * Copyright @ 苏州瑞云信息技术有限公司 All rights reserved.
 */
package cn.com.recloud.bbs.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.util.Date;

import cn.com.recloud.one.spring.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author herry
 * @date 2020-06-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("bbs_article")
@ApiModel(value="Article对象", description="")
public class bbs_article extends BaseEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "uuid")
    @TableId(value = "bbs_articleid", type = IdType.ASSIGN_UUID)
    private String bbs_articleid;

    @ApiModelProperty(value = "文章类型")
    @TableField("bbs_article_typeid")
    private String bbs_article_typeid;

    @TableField("bbs_article_typeidname")
    private String bbs_article_typeidname;

    @ApiModelProperty(value = "是否推荐")
    @TableField("is_recommend")
    private Boolean is_recommend;

    @ApiModelProperty(value = "封面")
    private String avatar;

    @ApiModelProperty(value = "文章内容")
    private String content;

    @ApiModelProperty(value = "状态")
    @TableField("bbs_article_status")
    private String bbs_article_status;

    @TableField("bbs_article_statusname")
    private String bbs_article_statusname;

    @ApiModelProperty(value = "发布人")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String releasedby;

    @ApiModelProperty(value = "发布人名称")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String releasedbyname;

    @ApiModelProperty(value = "发布人时间")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Date releasedon;


}
